package com.tzy.spi.aop.Interceptor;

import com.tzy.spi.aop.Aspect;

import java.lang.reflect.Method;

public abstract class AbstractMethodInterceptor implements MethodInterceptor {
    private Method method;

    private Aspect aspect;

    public Method getMethod() {
        return method;
    }

    public Aspect getAspect() {
        return aspect;
    }

    @Override
    public void setMethod(Method method) {
        this.method = method;
    }

    @Override
    public void setAspect(Aspect aspect) {
        this.aspect = aspect;
    }
}
